package com.party.core.model.mall;

import com.party.core.model.BaseModel;

/**
 * 商城店铺资源
 * Created by yifeng
 *
 * @date 2018/4/3 0003
 * @time 上午 9:44
 */
public class MallStoreResources extends BaseModel {
    // 轮播图
    public static Integer MODEL_CAROUSEL = 1;
    // 每日特惠
    public static Integer MODEL_DAILY_DEAL = 2;
    // 戈友推荐
    public static Integer MODEL_FRIEND = 3;
    // 分类导航
    public static Integer MODEL_CATEGORY = 4;
    // 品牌推荐
    public static Integer MODEL_BRAND = 5;

    // 模块(1:轮播图；2：每日特惠；3:戈友推荐；4：分类导航；5：品牌)
    private Integer model;
    // 轮播图-标题
    private String title;
    // 图片
    private String pic;
    // 链接的值（对应type为4）
    private String url;
    // 店铺编号
    private String storeId;
    // 资源目标编号
    private String targetId;
    // 类型(1:专题；2:商品；3分类；4:链接；5:品牌)
    private Integer type;
    // 排序
    private Integer sort;

    public Integer getModel() {
        return model;
    }

    public void setModel(Integer model) {
        this.model = model;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }
}
